from django.conf.urls.defaults import *

url_args = ['simcat.views',
        (r'^api/(?P<element>\w+)/(?P<id>\d+)/$', 'object_request'),
        (r'^api/(?P<element>\w+)/$', 'collection_request'),
        (r'^api/', 'elements_index')]

urlpatterns = patterns(*url_args)
